
public class Peel extends Action {
	public Peel(Predicate p, int duration) {
		super("Peel", duration);

		//addPreconditions(new Have(o));
		addPreconditions(p);
		addToAddList(new Peeled(p));
		addToDeleteList(p);
		
		addToResources(Resource.PEELER);
		addToResources(Resource.HANDS);	
	}
	
	public Peel() {
		super("Peel", 0);
		
		addToAddList(new Peeled());
		
		addToResources(Resource.PEELER);
		addToResources(Resource.HANDS);
	}	
}

